getEffects

abstract fun getEffects(block: DesignBlock): List<DesignBlock>

Get a list of all effects attached to this block.

Return

a list of effects or an error, if the block doesn't support effects.

Parameters

block

the block to query.